<template>
  <div class="setting-failure-library" v-loading="loading" >

    <div class="setting-failure-library-header">
      <span>{{$t('common.form.setting.setCustomField')}}</span>

      <base-button
        type="primary"
        native-type="submit"
        :disabled="loading"
        @event="submit">{{$t('common.base.save')}}
      </base-button>
    </div>

    <div class="setting-failure-library-design">
      <form-design 
        v-model="fields" 
        :max="maxField" 
        mode="fault_library" 
      >
      </form-design>
    </div>
  </div>
</template>

<script>
import main from './main';
export default main;
</script>

<style lang="scss" scoped>
@import './index.scss';
</style>